#if defined(TSINGMA)

enum sys_tm_discard_type_e
{
    /*IPE*/
    SYS_TM_DISCARD_IPE_START = 0,
    SYS_TM_DISCARD_IPE_RESERVED0 = SYS_TM_DISCARD_IPE_START               , /*IPE_DISCARD_RESERVED0                           -> CTC_DROP_NONE             */
    SYS_TM_DISCARD_IPE_LPBK_HDR_ADJ_RM_ERR                                , /*IPE_DISCARD_LPBK_HDR_ADJ_RM_ERR                 -> CTC_DROP_LPBK_ERR         */
    SYS_TM_DISCARD_IPE_PARSER_LEN_ERR                                     , /*IPE_DISCARD_PARSER_LEN_ERR                      -> CTC_DROP_PARSER_ERR       */
    SYS_TM_DISCARD_IPE_UC_TO_LAG_GROUP_NO_MEMBER                          , /*IPE_DISCARD_UC_TO_LAG_GROUP_NO_MEMBER           -> CTC_DROP_LAG_EMPTY        */
    SYS_TM_DISCARD_IPE_EXCEP2_DIS                                         , /*IPE_DISCARD_EXCEP2_DIS                          -> CTC_DROP_EXCP             */
    SYS_TM_DISCARD_IPE_DS_USERID_DIS                                      , /*IPE_DISCARD_DS_USERID_DIS                       -> CTC_DROP_SCL_DENY         */
    SYS_TM_DISCARD_IPE_RECEIVE_DIS                                        , /*IPE_DISCARD_RECEIVE_DIS                         -> CTC_DROP_RECEIVE_DISABLE  */
    SYS_TM_DISCARD_IPE_MICROFLOW_POLICING_FAIL_DROP                       , /*IPE_DISCARD_MICROFLOW_POLICING_FAIL_DROP        -> CTC_DROP_POLICING         */
    SYS_TM_DISCARD_IPE_PROTOCOL_VLAN_DIS                                  , /*IPE_DISCARD_PROTOCOL_VLAN_DIS                   -> CTC_DROP_VLAN_FILTER      */
    SYS_TM_DISCARD_IPE_AFT_DIS                                            , /*IPE_DISCARD_AFT_DIS                             -> CTC_DROP_VLAN_FILTER      */
    SYS_TM_DISCARD_IPE_L2_ILLEGAL_PKT_DIS                                 , /*IPE_DISCARD_L2_ILLEGAL_PKT_DIS                  -> CTC_DROP_PKT_ERR          */
    SYS_TM_DISCARD_IPE_STP_DIS                                            , /*IPE_DISCARD_STP_DIS                             -> CTC_DROP_STP_CHK          */
    SYS_TM_DISCARD_IPE_DEST_MAP_PROFILE_DISCARD                           , /*IPE_DISCARD_DEST_MAP_PROFILE_DISCARD            -> CTC_DROP_FWD_ERR          */
    SYS_TM_DISCARD_IPE_STACK_REFLECT_DISCARD                              , /*IPE_DISCARD_STACK_REFLECT_DISCARD               -> CTC_DROP_STK_CHK          */
    SYS_TM_DISCARD_IPE_ARP_DHCP_DIS                                       , /*IPE_DISCARD_ARP_DHCP_DIS                        -> CTC_DROP_ARP_OR_DHCP_ERR  */
    SYS_TM_DISCARD_IPE_DS_PHYPORT_SRCDIS                                  , /*IPE_DISCARD_DS_PHYPORT_SRCDIS                   -> CTC_DROP_RECEIVE_DISABLE  */
    SYS_TM_DISCARD_IPE_VLAN_FILTER_DIS                                    , /*IPE_DISCARD_VLAN_FILTER_DIS                     -> CTC_DROP_VLAN_FILTER      */
    SYS_TM_DISCARD_IPE_DS_SCL_DIS                                         , /*IPE_DISCARD_DS_SCL_DIS                          -> CTC_DROP_SCL_DENY         */
    SYS_TM_DISCARD_IPE_ROUTE_ERROR_PKT_DIS                                , /*IPE_DISCARD_ROUTE_ERROR_PKT_DIS                 -> CTC_DROP_IP_CHK           */
    SYS_TM_DISCARD_IPE_SECURITY_CHK_DIS                                   , /*IPE_DISCARD_SECURITY_CHK_DIS                    -> CTC_DROP_SECURITY_CHK     */
    SYS_TM_DISCARD_IPE_STORM_CTL_DIS                                      , /*IPE_DISCARD_STORM_CTL_DIS                       -> CTC_DROP_SECURITY_CHK     */
    SYS_TM_DISCARD_IPE_LEARNING_DIS                                       , /*IPE_DISCARD_LEARNING_DIS                        -> CTC_DROP_SECURITY_CHK     */
    SYS_TM_DISCARD_IPE_NO_FORWARDING_PTR                                  , /*IPE_DISCARD_NO_FORWARDING_PTR                   -> CTC_DROP_FWD_ERR          */
    SYS_TM_DISCARD_IPE_IS_DIS_FORWARDING_PTR                              , /*IPE_DISCARD_IS_DIS_FORWARDING_PTR               -> CTC_DROP_FWD_ERR          */
    SYS_TM_DISCARD_IPE_FATAL_EXCEP_DIS                                    , /*IPE_DISCARD_FATAL_EXCEP_DIS                     -> CTC_DROP_EXCP             */
    SYS_TM_DISCARD_IPE_APS_DIS                                            , /*IPE_DISCARD_APS_DIS                             -> CTC_DROP_APS              */
    SYS_TM_DISCARD_IPE_DS_FWD_DESTID_DIS                                  , /*IPE_DISCARD_DS_FWD_DESTID_DIS                   -> CTC_DROP_FWD_ERR          */
    SYS_TM_DISCARD_IPE_LOOPBACK_DIS                                       , /*IPE_DISCARD_LOOPBACK_DIS                        -> CTC_DROP_LPBK_ERR         */
    SYS_TM_DISCARD_IPE_DISCARD_PACKET_LOG_ALL_TYPE                        , /*IPE_DISCARD_DISCARD_PACKET_LOG_ALL_TYPE         -> CTC_DROP_NONE             */
    SYS_TM_DISCARD_IPE_PORT_MAC_CHECK_DIS                                 , /*IPE_DISCARD_PORT_MAC_CHECK_DIS                  -> CTC_DROP_PORT_MAC_CHK     */
    SYS_TM_DISCARD_IPE_L3_EXCEP_DIS                                       , /*IPE_DISCARD_L3_EXCEP_DIS                        -> CTC_DROP_EXCP             */
    SYS_TM_DISCARD_IPE_STACKING_HDR_CHK_ERR                               , /*IPE_DISCARD_STACKING_HDR_CHK_ERR                -> CTC_DROP_STK_CHK          */
    SYS_TM_DISCARD_IPE_TUNNEL_DECAP_MARTIAN_ADD                           , /*IPE_DISCARD_TUNNEL_DECAP_MARTIAN_ADD            -> CTC_DROP_IP_CHK           */
    SYS_TM_DISCARD_IPE_TUNNELID_FWD_PTR_DIS                               , /*IPE_DISCARD_TUNNELID_FWD_PTR_DIS                -> CTC_DROP_FWD_ERR          */
    SYS_TM_DISCARD_IPE_VXLAN_FLAG_CHK_ERROR_DISCARD                       , /*IPE_DISCARD_VXLAN_FLAG_CHK_ERROR_DISCARD        -> CTC_DROP_VXLAN_CHK        */
    SYS_TM_DISCARD_IPE_VXLAN_NVGRE_INNER_VTAG_CHK_DIS                     , /*IPE_DISCARD_VXLAN_NVGRE_INNER_VTAG_CHK_DIS      -> CTC_DROP_VXLAN_CHK        */
    SYS_TM_DISCARD_IPE_VXLAN_NVGRE_CHK_FAIL                               , /*IPE_DISCARD_VXLAN_NVGRE_CHK_FAIL                -> CTC_DROP_VXLAN_CHK        */
    SYS_TM_DISCARD_IPE_GENEVE_PAKCET_DISCARD                              , /*IPE_DISCARD_GENEVE_PAKCET_DISCARD               -> CTC_DROP_VXLAN_CHK        */
    SYS_TM_DISCARD_IPE_ICMP_REDIRECT_DIS                                  , /*IPE_DISCARD_ICMP_REDIRECT_DIS                   -> CTC_DROP_ICMP_ERR         */
    SYS_TM_DISCARD_IPE_ICMP_ERR_MSG_DIS                                   , /*IPE_DISCARD_ICMP_ERR_MSG_DIS                    -> CTC_DROP_PKT_ERR          */
    SYS_TM_DISCARD_IPE_PTP_PKT_DIS                                        , /*IPE_DISCARD_PTP_PKT_DIS                         -> CTC_DROP_PTP              */
    SYS_TM_DISCARD_IPE_MUX_PORT_ERR                                       , /*IPE_DISCARD_MUX_PORT_ERR                        -> CTC_DROP_BPE_PORT_ERR     */
    SYS_TM_DISCARD_IPE_HW_ERROR_DISCARD                                   , /*IPE_DISCARD_HW_ERROR_DISCARD                    -> CTC_DROP_HW_ERR           */
    SYS_TM_DISCARD_IPE_USERID_BINDING_DIS                                 , /*IPE_DISCARD_USERID_BINDING_DIS                  -> CTC_DROP_IP_SRC_GUARD     */
    SYS_TM_DISCARD_IPE_DS_PLC_DIS                                         , /*IPE_DISCARD_DS_PLC_DIS                          -> CTC_DROP_POLICING         */
    SYS_TM_DISCARD_IPE_DS_ACL_DIS                                         , /*IPE_DISCARD_DS_ACL_DIS                          -> CTC_DROP_ACL_DENY         */
    SYS_TM_DISCARD_IPE_DOT1AE_CHK                                         , /*IPE_DISCARD_DOT1AE_CHK                          -> CTC_DROP_DOT1AE           */
    SYS_TM_DISCARD_IPE_OAM_DISABLE                                        , /*IPE_DISCARD_OAM_DISABLE                         -> CTC_DROP_OAM              */
    SYS_TM_DISCARD_IPE_OAM_NOT_FOUND                                      , /*IPE_DISCARD_OAM_NOT_FOUND                       -> CTC_DROP_OAM              */
    SYS_TM_DISCARD_IPE_CFLAX_SRC_ISOLATE_DIS                              , /*IPE_DISCARD_CFLAX_SRC_ISOLATE_DIS               -> CTC_DROP_ISOLATE_CHK      */
    SYS_TM_DISCARD_IPE_OAM_ETH_VLAN_CHK                                   , /*IPE_DISCARD_OAM_ETH_VLAN_CHK                    -> CTC_DROP_OAM              */
    SYS_TM_DISCARD_IPE_OAM_BFD_TTL_CHK                                    , /*IPE_DISCARD_OAM_BFD_TTL_CHK                     -> CTC_DROP_TTL_CHK          */
    SYS_TM_DISCARD_IPE_OAM_FILTER_DIS                                     , /*IPE_DISCARD_OAM_FILTER_DIS                      -> CTC_DROP_OAM              */
    SYS_TM_DISCARD_IPE_TRILL_CHK                                          , /*IPE_DISCARD_TRILL_CHK                           -> CTC_DROP_TRILL            */
    SYS_TM_DISCARD_IPE_WLAN_CHK                                           , /*IPE_DISCARD_WLAN_CHK                            -> CTC_DROP_NONE             */
    SYS_TM_DISCARD_IPE_TUNNEL_ECN_DIS                                     , /*IPE_DISCARD_TUNNEL_ECN_DIS                      -> CTC_DROP_TUNNEL_CHK       */
    SYS_TM_DISCARD_IPE_EFM_DIS                                            , /*IPE_DISCARD_EFM_DIS                             -> CTC_DROP_OAM              */
    SYS_TM_DISCARD_IPE_ILOOP_DIS                                          , /*IPE_DISCARD_ILOOP_DIS                           -> CTC_DROP_LPBK_ERR         */
    SYS_TM_DISCARD_IPE_MPLS_ENTROPY_LABEL_CHK                             , /*IPE_DISCARD_MPLS_ENTROPY_LABEL_CHK              -> CTC_DROP_MPLS_CHK         */
    SYS_TM_DISCARD_IPE_MPLS_TP_MCC_SCC_DIS                                , /*IPE_DISCARD_MPLS_TP_MCC_SCC_DIS                 -> CTC_DROP_MPLS_CHK         */
    SYS_TM_DISCARD_IPE_MPLS_MC_PKT_ERROR                                  , /*IPE_DISCARD_MPLS_MC_PKT_ERROR                   -> CTC_DROP_PKT_ERR          */
    SYS_TM_DISCARD_IPE_L2_EXCPTION_DIS                                    , /*IPE_DISCARD_L2_EXCPTION_DIS                     -> CTC_DROP_EXCP             */
    SYS_TM_DISCARD_IPE_NAT_PT_CHK                                         , /*IPE_DISCARD_NAT_PT_CHK                          -> CTC_DROP_IP_CHK           */
    SYS_TM_DISCARD_IPE_SD_CHECK_DIS                                       , /*IPE_DISCARD_SD_CHECK_DIS                        -> CTC_DROP_SD_CHK           */
    SYS_TM_DISCARD_IPE_END = SYS_TM_DISCARD_IPE_SD_CHECK_DIS              ,
    /*EPE*/
    SYS_TM_DISCARD_EPE_START = SYS_TM_DISCARD_IPE_END + 1                 ,
    SYS_TM_DISCARD_EPE_HDR_ADJ_DESTID_DIS = SYS_TM_DISCARD_EPE_START    , /*EPE_DISCARD_HDR_ADJ_DESTID_DIS                  -> CTC_DROP_PKT_ERR          */
    SYS_TM_DISCARD_EPE_HDR_ADJ_PKT_ERR                                    , /*EPE_DISCARD_HDR_ADJ_PKT_ERR                     -> CTC_DROP_PKT_ERR          */
    SYS_TM_DISCARD_EPE_HDR_ADJ_REMOVE_ERR                                 , /*EPE_DISCARD_HDR_ADJ_REMOVE_ERR                  -> CTC_DROP_PKT_ERR          */
    SYS_TM_DISCARD_EPE_DS_DESTPHYPORT_DSTID_DIS                           , /*EPE_DISCARD_DS_DESTPHYPORT_DSTID_DIS            -> CTC_DROP_FWD_ERR          */
    SYS_TM_DISCARD_EPE_PORT_ISO_DIS                                       , /*EPE_DISCARD_PORT_ISO_DIS                        -> CTC_DROP_ISOLATE_CHK      */
    SYS_TM_DISCARD_EPE_DS_VLAN_TRANSMIT_DIS                               , /*EPE_DISCARD_DS_VLAN_TRANSMIT_DIS                -> CTC_DROP_TRANSIT_DISABLE  */
    SYS_TM_DISCARD_EPE_BRG_TO_SAME_PORT_DIS                               , /*EPE_DISCARD_BRG_TO_SAME_PORT_DIS                -> CTC_DROP_FWD_ERR          */
    SYS_TM_DISCARD_EPE_VPLS_HORIZON_SPLIT_DIS                             , /*EPE_DISCARD_VPLS_HORIZON_SPLIT_DIS              -> CTC_DROP_VPLS             */
    SYS_TM_DISCARD_EPE_VLAN_FILTER_DIS                                    , /*EPE_DISCARD_VLAN_FILTER_DIS                     -> CTC_DROP_VLAN_FILTER      */
    SYS_TM_DISCARD_EPE_STP_DIS                                            , /*EPE_DISCARD_STP_DIS                             -> CTC_DROP_STP_CHK          */
    SYS_TM_DISCARD_EPE_PARSER_LEN_ERR                                     , /*EPE_DISCARD_PARSER_LEN_ERR                      -> CTC_DROP_PARSER_ERR       */
    SYS_TM_DISCARD_EPE_PBB_CHK_DIS                                        , /*EPE_DISCARD_PBB_CHK_DIS                         -> CTC_DROP_NONE             */
    SYS_TM_DISCARD_EPE_UC_MC_FLOODING_DIS                                 , /*EPE_DISCARD_UC_MC_FLOODING_DIS                  -> CTC_DROP_FWD_ERR          */
    SYS_TM_DISCARD_EPE_OAM_802_3_DIS                                      , /*EPE_DISCARD_OAM_802_3_DIS                       -> CTC_DROP_OAM              */
    SYS_TM_DISCARD_EPE_TTL_FAIL                                           , /*EPE_DISCARD_TTL_FAIL                            -> CTC_DROP_TTL_CHK          */
    SYS_TM_DISCARD_EPE_REMOTE_MIRROR_ESCAP_DIS                            , /*EPE_DISCARD_REMOTE_MIRROR_ESCAP_DIS             -> CTC_DROP_MIRROR           */
    SYS_TM_DISCARD_EPE_TUNNEL_MTU_CHK_DIS                                 , /*EPE_DISCARD_TUNNEL_MTU_CHK_DIS                  -> CTC_DROP_MTU_CHK          */
    SYS_TM_DISCARD_EPE_INTERF_MTU_CHK_DIS                                 , /*EPE_DISCARD_INTERF_MTU_CHK_DIS                  -> CTC_DROP_MTU_CHK          */
    SYS_TM_DISCARD_EPE_LOGIC_PORT_CHK_DIS                                 , /*EPE_DISCARD_LOGIC_PORT_CHK_DIS                  -> CTC_DROP_FWD_ERR          */
    SYS_TM_DISCARD_EPE_DS_ACL_DIS                                         , /*EPE_DISCARD_DS_ACL_DIS                          -> CTC_DROP_ACL_DENY         */
    SYS_TM_DISCARD_EPE_DS_VLAN_XLATE_DIS                                  , /*EPE_DISCARD_DS_VLAN_XLATE_DIS                   -> CTC_DROP_SCL_DENY         */
    SYS_TM_DISCARD_EPE_DS_PLC_DIS                                         , /*EPE_DISCARD_DS_PLC_DIS                          -> CTC_DROP_POLICING         */
    SYS_TM_DISCARD_EPE_CRC_ERR_DIS                                        , /*EPE_DISCARD_CRC_ERR_DIS                         -> CTC_DROP_PKT_ERR          */
    SYS_TM_DISCARD_EPE_ROUTE_PLD_OP_DIS                                   , /*EPE_DISCARD_ROUTE_PLD_OP_DIS                    -> CTC_DROP_PLD_OP_ERR       */
    SYS_TM_DISCARD_EPE_BRIDGE_PLD_OP_DIS                                  , /*EPE_DISCARD_BRIDGE_PLD_OP_DIS                   -> CTC_DROP_PLD_OP_ERR       */
    SYS_TM_DISCARD_EPE_STRIP_OFFSET_LARGE                                 , /*EPE_DISCARD_STRIP_OFFSET_LARGE                  -> CTC_DROP_PLD_OP_ERR       */
    SYS_TM_DISCARD_EPE_BFD_DIS                                            , /*EPE_DISCARD_BFD_DIS                             -> CTC_DROP_BFD              */
    SYS_TM_DISCARD_EPE_PORT_REFLECTIVE_CHK_DIS                            , /*EPE_DISCARD_PORT_REFLECTIVE_CHK_DIS             -> CTC_DROP_FWD_ERR          */
    SYS_TM_DISCARD_EPE_IP_MPLS_TTL_CHK_ERR                                , /*EPE_DISCARD_IP_MPLS_TTL_CHK_ERR                 -> CTC_DROP_TTL_CHK          */
    SYS_TM_DISCARD_EPE_OAM_EDGE_PORT_DIS                                  , /*EPE_DISCARD_OAM_EDGE_PORT_DIS                   -> CTC_DROP_OAM              */
    SYS_TM_DISCARD_EPE_NAT_PT_ICMP_ERR                                    , /*EPE_DISCARD_NAT_PT_ICMP_ERR                     -> CTC_DROP_ICMP_ERR         */
    SYS_TM_DISCARD_EPE_LATENCY_DISCARD                                    , /*EPE_DISCARD_LATENCY_DISCARD                     -> CTC_DROP_LATENCY          */
    SYS_TM_DISCARD_EPE_LOCAL_OAM_DIS                                      , /*EPE_DISCARD_LOCAL_OAM_DIS                       -> CTC_DROP_OAM              */
    SYS_TM_DISCARD_EPE_OAM_FILTERING_DIS                                  , /*EPE_DISCARD_OAM_FILTERING_DIS                   -> CTC_DROP_OAM              */
    SYS_TM_DISCARD_EPE_RESERVED3                                          , /*EPE_DISCARD_RESERVED3                           -> CTC_DROP_NONE             */
    SYS_TM_DISCARD_EPE_SAME_IPDA_IPSA_DIS                                 , /*EPE_DISCARD_SAME_IPDA_IPSA_DIS                  -> CTC_DROP_IP_CHK           */
    SYS_TM_DISCARD_EPE_SD_CHK_DISCARD                                     , /*EPE_DISCARD_SD_CHK_DISCARD                      -> CTC_DROP_SD_CHK           */
    SYS_TM_DISCARD_EPE_TRILL_PLD_OP_DIS                                   , /*EPE_DISCARD_TRILL_PLD_OP_DIS                    -> CTC_DROP_PLD_OP_ERR       */
    SYS_TM_DISCARD_EPE_PBB_CHK_FAIL_DIS                                   , /*EPE_DISCARD_PBB_CHK_FAIL_DIS                    -> CTC_DROP_NONE             */
    SYS_TM_DISCARD_EPE_DS_NEXTHOP_DATA_VIOLATE                            , /*EPE_DISCARD_DS_NEXTHOP_DATA_VIOLATE             -> CTC_DROP_FWD_ERR          */
    SYS_TM_DISCARD_EPE_DEST_VLAN_PTR_DIS                                  , /*EPE_DISCARD_DEST_VLAN_PTR_DIS                   -> CTC_DROP_VLAN_FILTER      */
    SYS_TM_DISCARD_EPE_DS_L3EDIT_DATA_VIOLATE1                            , /*EPE_DISCARD_DS_L3EDIT_DATA_VIOLATE1             -> CTC_DROP_EDIT_ERR         */
    SYS_TM_DISCARD_EPE_DS_L3EDIT_DATA_VIOLATE2                            , /*EPE_DISCARD_DS_L3EDIT_DATA_VIOLATE2             -> CTC_DROP_EDIT_ERR         */
    SYS_TM_DISCARD_EPE_DS_L3EDITNAT_DATA_VIOLATE                          , /*EPE_DISCARD_DS_L3EDITNAT_DATA_VIOLATE           -> CTC_DROP_EDIT_ERR         */
    SYS_TM_DISCARD_EPE_DS_L2EDIT_DATA_VIOLATE1                            , /*EPE_DISCARD_DS_L2EDIT_DATA_VIOLATE1             -> CTC_DROP_EDIT_ERR         */
    SYS_TM_DISCARD_EPE_DS_L2EDIT_DATA_VIOLATE2                            , /*EPE_DISCARD_DS_L2EDIT_DATA_VIOLATE2             -> CTC_DROP_EDIT_ERR         */
    SYS_TM_DISCARD_EPE_PKT_HDR_C2C_TTL_ZERO                               , /*EPE_DISCARD_PKT_HDR_C2C_TTL_ZERO                -> CTC_DROP_TTL_CHK          */
    SYS_TM_DISCARD_EPE_PT_UDP_CHKSUM_ZERO                                 , /*EPE_DISCARD_PT_UDP_CHKSUM_ZERO                  -> CTC_DROP_CHKSUM_ERR       */
    SYS_TM_DISCARD_EPE_OAM_TO_LOCAL_DIS                                   , /*EPE_DISCARD_OAM_TO_LOCAL_DIS                    -> CTC_DROP_OAM              */
    SYS_TM_DISCARD_EPE_HARD_ERROR_DIS                                     , /*EPE_DISCARD_HARD_ERROR_DIS                      -> CTC_DROP_HW_ERR           */
    SYS_TM_DISCARD_EPE_MICROFLOW_POLICING_FAIL_DROP                       , /*EPE_DISCARD_MICROFLOW_POLICING_FAIL_DROP        -> CTC_DROP_POLICING         */
    SYS_TM_DISCARD_EPE_ARP_MISS_DISCARD                                   , /*EPE_DISCARD_ARP_MISS_DISCARD                    -> CTC_DROP_ARP_MISS         */
    SYS_TM_DISCARD_EPE_ILLEGAL_PACKET_TO_E2I_LOOP_CHANNEL                 , /*EPE_DISCARD_ILLEGAL_PACKET_TO_E2I_LOOP_CHANNEL  -> CTC_DROP_LPBK_ERR         */
    SYS_TM_DISCARD_EPE_UNKNOWN_DOT11_PACKET_DISCARD                       , /*EPE_DISCARD_UNKNOWN_DOT11_PACKET_DISCARD        -> CTC_DROP_DOT1AE           */
    SYS_TM_DISCARD_EPE_DOT1AE_PN_OVERFLOW                                 , /*EPE_DISCARD_DOT1AE_PN_OVERFLOW                  -> CTC_DROP_DOT1AE           */
    SYS_TM_DISCARD_EPE_PON_DOWNSTREAM_CHECK_FAIL                          , /*EPE_DISCARD_PON_DOWNSTREAM_CHECK_FAIL           -> CTC_DROP_PON              */
    SYS_TM_DISCARD_EPE_END = SYS_TM_DISCARD_EPE_PON_DOWNSTREAM_CHECK_FAIL ,
    /*BSR*/
    SYS_TM_DISCARD_BSR_START = SYS_TM_DISCARD_EPE_END + 1                 ,
    SYS_TM_DISCARD_BSR_BUFSTORE_ABORT_TOTAL = SYS_TM_DISCARD_BSR_START    , /*BSR_DISCARD_BUFSTORE_ABORT_TOTAL                -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_BUFSTORE_LEN_ERROR                                 , /*BSR_DISCARD_BUFSTORE_LEN_ERROR                  -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_BUFSTORE_IRM_RESRC                                 , /*BSR_DISCARD_BUFSTORE_IRM_RESRC                  -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_BUFSTORE_DATA_ERR                                  , /*BSR_DISCARD_BUFSTORE_DATA_ERR                   -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_BUFSTORE_CHIP_MISMATCH                             , /*BSR_DISCARD_BUFSTORE_CHIP_MISMATCH              -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_BUFSTORE_NO_BUFF                                   , /*BSR_DISCARD_BUFSTORE_NO_BUFF                    -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_BUFSTORE_NO_EOP                                    , /*BSR_DISCARD_BUFSTORE_NO_EOP                     -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_METFIFO_STALL_TO_BS_DROP                           , /*BSR_DISCARD_METFIFO_STALL_TO_BS_DROP            -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_BUFSTORE_SLIENT_TOTAL                              , /*BSR_DISCARD_BUFSTORE_SLIENT_TOTAL               -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_TO_BUFSTORE_FROM_DMA                               , /*BSR_DISCARD_TO_BUFSTORE_FROM_DMA                -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_TO_BUFSTORE_FROM_NETRX                             , /*BSR_DISCARD_TO_BUFSTORE_FROM_NETRX              -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_TO_BUFSTORE_FROM_OAM                               , /*BSR_DISCARD_TO_BUFSTORE_FROM_OAM                -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_BUFSTORE_OUT_SOP_PKT_LEN_ERR                       , /*BSR_DISCARD_BUFSTORE_OUT_SOP_PKT_LEN_ERR        -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_METFIFO_MC_FROM_DMA                                , /*BSR_DISCARD_METFIFO_MC_FROM_DMA                 -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_METFIFO_UC_FROM_DMA                                , /*BSR_DISCARD_METFIFO_UC_FROM_DMA                 -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_METFIFO_MC_FROM_ELOOP_MCAST                        , /*BSR_DISCARD_METFIFO_MC_FROM_ELOOP_MCAST         -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_METFIFO_UC_FROM_ELOOP_UCAST                        , /*BSR_DISCARD_METFIFO_UC_FROM_ELOOP_UCAST         -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_METFIFO_MC_FROM_IPE_CUT_THR                        , /*BSR_DISCARD_METFIFO_MC_FROM_IPE_CUT_THR         -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_METFIFO_UC_FROM_IPE_CUT_THR                        , /*BSR_DISCARD_METFIFO_UC_FROM_IPE_CUT_THR         -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_METFIFO_MC_FROM_IPE                                , /*BSR_DISCARD_METFIFO_MC_FROM_IPE                 -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_METFIFO_UC_FROM_IPE                                , /*BSR_DISCARD_METFIFO_UC_FROM_IPE                 -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_METFIFO_MC_FROM_OAM                                , /*BSR_DISCARD_METFIFO_MC_FROM_OAM                 -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_METFIFO_UC_FROM_OAM                                , /*BSR_DISCARD_METFIFO_UC_FROM_OAM                 -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_BUFRETRV_FROM_DEQ_MSG_ERR                          , /*BSR_DISCARD_BUFRETRV_FROM_DEQ_MSG_ERR           -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_BUFRETRV_FROM_QMGR_LEN_ERR                         , /*BSR_DISCARD_BUFRETRV_FROM_QMGR_LEN_ERR          -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_BUFRETRV_OUT_DROP                                  , /*BSR_DISCARD_BUFRETRV_OUT_DROP                   -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_WRED_DROP                                      , /*BSR_DISCARD_ENQ_WRED_DROP                       -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_TOTAL_DROP                                     , /*BSR_DISCARD_ENQ_TOTAL_DROP                      -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_NO_QUEUE_ENTRY                                 , /*BSR_DISCARD_ENQ_NO_QUEUE_ENTRY                  -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_PORT_NO_BUFF                                   , /*BSR_DISCARD_ENQ_PORT_NO_BUFF                    -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_QUEUE_NO_BUFF                                  , /*BSR_DISCARD_ENQ_QUEUE_NO_BUFF                   -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_SC_NO_BUFF                                     , /*BSR_DISCARD_ENQ_SC_NO_BUFF                      -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_SPAN_NO_BUFF                                   , /*BSR_DISCARD_ENQ_SPAN_NO_BUFF                    -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_TOTAL_NO_BUFF                                  , /*BSR_DISCARD_ENQ_TOTAL_NO_BUFF                   -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_FWD_DROP                                       , /*BSR_DISCARD_ENQ_FWD_DROP                        -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_FWD_DROP_CFLEX_ISOLATE_BLOCK                   , /*BSR_DISCARD_ENQ_FWD_DROP_CFLEX_ISOLATE_BLOCK    -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_FWD_DROP_CHAN_INVALID                          , /*BSR_DISCARD_ENQ_FWD_DROP_CHAN_INVALID           -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_FWD_DROP_TOTAL                                 , /*BSR_DISCARD_ENQ_FWD_DROP_TOTAL                  -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_FWD_DROP_FROM_LAG                              , /*BSR_DISCARD_ENQ_FWD_DROP_FROM_LAG               -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_FWD_DROP_FROM_LAG_ERR                          , /*BSR_DISCARD_ENQ_FWD_DROP_FROM_LAG_ERR           -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_FWD_DROP_FROM_LAG_MC                           , /*BSR_DISCARD_ENQ_FWD_DROP_FROM_LAG_MC            -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_FWD_DROP_FROM_LAG_NO_MEM                       , /*BSR_DISCARD_ENQ_FWD_DROP_FROM_LAG_NO_MEM        -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_FWD_DROP_PORT_ISOLATE_BLOCK                    , /*BSR_DISCARD_ENQ_FWD_DROP_PORT_ISOLATE_BLOCK     -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_FWD_DROP_RSV_CHAN_DROP                         , /*BSR_DISCARD_ENQ_FWD_DROP_RSV_CHAN_DROP          -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_ENQ_FWD_DROP_FROM_STACKING_LAG                     , /*BSR_DISCARD_ENQ_FWD_DROP_FROM_STACKING_LAG      -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_END = SYS_TM_DISCARD_BSR_ENQ_FWD_DROP_FROM_STACKING_LAG , 
    /*NETTX*/
    SYS_TM_DISCARD_NETTX_START = SYS_TM_DISCARD_BSR_END + 1               ,
    SYS_TM_DISCARD_NETTX_MIN_LEN = SYS_TM_DISCARD_NETTX_START             , /*NETTX_DISCARD_MIN_LEN                           -> CTC_DROP_NET_TX           */
    SYS_TM_DISCARD_NETTX_NO_BUFFER                                        , /*NETTX_DISCARD_NO_BUFFER                         -> CTC_DROP_NET_TX           */
    SYS_TM_DISCARD_NETTX_SOP_EOP                                          , /*NETTX_DISCARD_SOP_EOP                           -> CTC_DROP_NET_TX           */
    SYS_TM_DISCARD_NETTX_TX_ERROR                                         , /*NETTX_DISCARD_TX_ERROR                          -> CTC_DROP_NET_TX           */
    SYS_TM_DISCARD_NETTX_END = SYS_TM_DISCARD_NETTX_TX_ERROR              ,
    /*NETRX*/
    SYS_TM_DISCARD_NETRX_START = SYS_TM_DISCARD_NETTX_END + 1             ,
    SYS_TM_DISCARD_NETRX_NO_BUFFER                                        , /*NETRX_DISCARD_NO_BUFFER                         -> CTC_DROP_NET_RX           */
    SYS_TM_DISCARD_NETRX_LEN_ERROR                                        , /*NETRX_DISCARD_LEN_ERROR                         -> CTC_DROP_NET_RX           */
    SYS_TM_DISCARD_NETRX_PKT_ERROR                                        , /*NETRX_DISCARD_PKT_ERROR                         -> CTC_DROP_NET_RX           */
    SYS_TM_DISCARD_NETRX_BPDU_ERROR                                       , /*NETRX_DISCARD_BPDU_ERROR                        -> CTC_DROP_NET_RX           */
    SYS_TM_DISCARD_NETRX_FRAME_ERROR                                      , /*NETRX_DISCARD_FRAME_ERROR                       -> CTC_DROP_NET_RX           */
    SYS_TM_DISCARD_NETRX_END = SYS_TM_DISCARD_NETRX_FRAME_ERROR           ,
    /*OAM*/
    SYS_TM_DISCARD_OAM_START = SYS_TM_DISCARD_NETRX_END + 1               ,
    SYS_TM_DISCARD_BSR_OAM_HW_ERROR                                       , /*BSR_DISCARD_OAM_HW_ERROR                        -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_BSR_OAM_EXCEPTION                                      , /*BSR_DISCARD_OAM_EXCEPTION                       -> CTC_DROP_TRAFFIC_MANAGER  */
    SYS_TM_DISCARD_OAM_END = SYS_TM_DISCARD_BSR_OAM_EXCEPTION             ,
};
typedef enum sys_tm_discard_type_e sys_tm_discard_type_t;

extern int32
sys_tm_map_drop_reason_sys_to_ctc(uint16 discard_type, uint16* p_drop_reason);

extern const char*
sys_tm_get_discard_type_desc(uint16 discard_type);

#endif

